package com.qf.dao;

import com.qf.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @version v1.0.0
 * @Description:
 * @author: 姜红凯
 * @date: 2022.02.09
 * @since 1.0
 */
public interface UserDao {
    /**
     *查所有
     * @return
     */
    public List<User> queryAll();

    User findByUsername( @Param("name") String username);

    void update(User user);

}
